import http from "@/utils/request";

export default{
    /**
     * 查询列表
     * @param  params
     * @returns
     */
    async getList(params){
        return await http.get("/api/jcBz/list",params);
    },
    /**
    * 添加
    * @returns
    */
    async add(params){
        return await http.post("/api/jcBz/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async update(params){
        return await http.put("/api/jcBz/update",params)
    },

    //删除
    async delete(params) {
        return await http.delete('/api/jcBz/delete', params);

    },
    async getList2(params){
      return await http.get("/api/jcBz/list2",params);
    },
}
